function BlurCaret(tbSearch) {
	if(tbSearch.value=='')tbSearch.style.background = '#FFFFFF url(http:\x2F\x2Fwww.google.com.vn\x2Fcoop\x2Fintl\x2Fvi\x2Fimages\x2Fgoogle_custom_search_watermark.gif) left no-repeat';
}

function FocusCaret(tbSearch) {
    tbSearch.value = '';
	tbSearch.style.background = '#ffffff';
}

function InitSearch(tbSearch) {
	tbSearch=document.getElementById(tbSearch);
	if(tbSearch!=null) {
		if(tbSearch.value=='')
			BlurCaret(tbSearch);
		else
			FocusCaret(tbSearch);
    }
}

DI=document.images;
DIL=DI.length;
var lPath=window.location.href;
var i=lPath.lastIndexOf('/',lPath.length);
lPath=lPath.substr(0,i)+'/';
for(i=0; i<DIL; i++) {
    if (DI[i].src == lPath && DI[i].id != 'imgHit')
    DI[i].style.display = 'none';
}
